package cn.lhl.controller;


import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by Administrator on 2017/4/9/009.
 */
public class UserController implements Controller {
    public ModelAndView handleRequest(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception {
        ModelAndView modelAndView=new ModelAndView();
        System.out.println("asdasdasdadsa");
        modelAndView.addObject("arg","成功成功123132132231321321313213");
        modelAndView.setViewName("/WEB-INF/index.jsp");
        return modelAndView;
    }
}
